home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #2
/
Monster Media No. 2 (Monster Media)(1994).ISO
/
magazine
/
rdrm32.zip
/
SEND.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-08-04
|
1KB
|
46 lines
@echo off
rem ------------------------------------------------------------------------
rem All Exhibit A doors pass these parameters to SEND.BAT
rem %1 = com port number
rem %2 = computer to modem BPS rate (locked DTE rate)
rem %3 = full drive\path\filename of file(s) to be sent
rem %4 = modem to caller BPS rate (connect baud rate)
rem %5 = letter of protocol chosen
rem %6 = IRQ for com ports other than 1 or 2 (DSZ portx option)
rem %7 = base address for com ports other than 1 or 2 (DSZ portx option)
rem ------------------------------------------------------------------------
rem If using non-standard COM ports (COM ports other than 1 or 2), replace
rem port %1 in each line below with portx %7,%6 (note comma between %7,%6).
rem ------------------------------------------------------------------------
rem Note the difference in parameters %2 and %4. %2 should be used when
rem the locked baud info is needed, typically with FOSSIL protocols.
rem ------------------------------------------------------------------------
if "%5" == "X" goto :Xmodem
if "%5" == "C" goto :Xmodem
if "%5" == "1" goto :1Kxmodem
if "%5" == "Y" goto :Ymodem
if "%5" == "G" goto :YmodemG
if "%5" == "Z" goto :Zmodem
goto :end
:Xmodem
DSZ port %1 pB4096 sx %3
goto :end
:1Kxmodem
DSZ port %1 pB4096 sx -k %3
goto :end
:Ymodem
DSZ port %1 pB4096 sb -k %3
goto :end
:YmodemG
DSZ port %1 pB4096 sb -k %3
goto :end
:Zmodem
DSZ port %1 pB4096 sz %3
:end